package cn.bxshey.bootModule;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling //开启定时任务
@MapperScan("cn.bxshey.daoModule")
//扫描该包下所有的bean
@ComponentScan(basePackages = "cn.bxshey")
public class BootModuleApplication {

    public static void main(String[] args) {

        SpringApplication.run(BootModuleApplication.class, args);
    }

}
